<?php 
use com\soka\SokaModel;

class Cesantia_Mdl extends SokaModel
{

	public function get() {
		try {
	        $result = $this->_db->prepare("CALL cesantia_pro");
	        $result->execute();
	        while ($row = $result->fetch(\PDO::FETCH_ASSOC))
	        {
				$data[] = $row;
	        }
	       
        } catch (\PDOException $e) {
            print "Error!: " . $e->getMessage() . "<br/>";
        	die();
        }
        return $data;
	}
}